<%@page contentType="text/html" import="java.util.*,Bean.*" pageEncoding="UTF-8"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title></title>
	</head>
	<body background="002.jpg">
		<center><h1>网站设计与开发</h1></center>
		<hr />
    	<hr />
		<table width="100%" border="1" bordercolor="#3D88BF">
    		<tr height="24">
        		<td width="20%" border="0" bgcolor="#F8DBBB" align="center">&nbsp;</td>
        		<td width="20%" border="0" bgcolor="#F8DBBB" align="center">开始测试</td>
        		<td width="20%" border="0" bgcolor="#F8DBBB" align="center">修改个人信息</td>
        		<td width="20%" border="0" bgcolor="#C78A54" align="center">查询测试情况</td>
        		<td width="20%" border="0" bgcolor="#F8DBBB" align="center">&nbsp;</td>
      		</tr>
  		</table>
  		<div class="exit" style="position:absolute; width:300px; height:100px;z-index:1;left: 800px;top:150px;">
					<a href="main.jsp">退出</a>
		</div>	
		<center><h1>JSP测试</h1></center>	
			<table width="100%" border="1" cellspacing="0" cellpadding="0" align="center">
		    <tr align="center">
		      <td width="60">序号</td>
		      <td width="60">章节</td>
              <td>题干</td>
              <td width="60">答案</td>
              <td colspan="2">操作</td>
              </tr>
              <% ArrayList<Xuanzeti> list= Xuanzeti.findAll();
		      	for (Xuanzeti x : list) {
	
		      %>
		       <tr align="center">		       
		       <td><%=x.getQuestionnumber() %></td>
		       <td><%=x.getZhangjie() %></td>
		       <td><%=x.getTigan() %></td>
		       <td><%=x.getAnswer() %></td>
		       <td align="center"><div>	<button type="button" class="btn btn-default btn-sm">修改<tton></div></td>
               <td align="center"><button type="button" class="btn btn-info btn-sm">删除<tton> <div> </td>
               
				</tr>
            <%} %>
		    </table>

</body>
</html>